﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace GH.Web.UionReport
{
    public partial class EmployMemberShipRateDateDialog : BasePage.PageBase
    {
        static string UnitRoot = System.Configuration.ConfigurationSettings.AppSettings["UnitRoot"];
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.IsPostBack)
            {
                DataListBind();
            }
        }





        private void DataListBind()
        {
            string strWhere = " 1=1";

            int theUnion = 0;
            //汇总权限
            if (!GetRight(301))
            {
                theUnion = Convert.ToInt32(this.Session["Union"]);
            }
            DataSet dsResult = new DataSet();
            GH.BLL.EmployMemberShipRate bllMemberShipRate = new GH.BLL.EmployMemberShipRate();

            dsResult = bllMemberShipRate.GetYearListByUnionID(theUnion);
            this.dlVipMember.DataSource = dsResult;
            //lblDataCount.Text = dsResult.Tables[0].Rows.Count.ToString();
            this.dlVipMember.DataBind();
        }
    }

}
